package com.example.easybuy.mapper;


import com.example.easybuy.pojo.EasybuyProductCategory;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 张子晨
 * @since 2021-03-12
 */
public interface EasybuyProductCategoryMapper {

    //查询所有商品分类
    public List<EasybuyProductCategory> allProductCategory();

    //根据categoryLevel1Id获取对应级别的名字(不为0)
    EasybuyProductCategory getProductByLevelId(Integer id);

}
